// expt.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include <setjmp.h>

int _tmain(int argc, _TCHAR* argv[])
{

	jmp_buf env;
	int r = setjmp(env);

	printf("value of r: %i", r);

	longjmp(env, r+1);

	return 0;
}

